package com.lemon.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName(value = "sys_user_att")
public class SysUserAtt implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 性别
     */
    @TableField(value = "gender")
    @Schema(description = "性别")
    private String gender;

    /**
     * 头像
     */
    @TableField(value = "avatar")
    @Schema(description = "头像")
    private String avatar;

    /**
     * 生日
     */
    @TableField(value = "birthday")
    @Schema(description = "生日")
    private String birthday;

    /**
     * 省份
     */
    @TableField(value = "province")
    @Schema(description = "省份")
    private String province;

    /**
     * idcard
     */
    @Schema(description = "idcard")
    @TableField(value = "idcard")
    private String idcard;

    @Schema(description = "更新时间")
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    @Schema(description = "更新人")
    @TableField(value = "update_by")
    private String updateBy;

}
